<div class="box" style="height: 400px;overflow: auto">
    <div class="row">
        <div class="col-md-8">
            请选择模块
            <select ng-model="module" ng-options="v.blockName as v.name for v in orgOppStruct"></select>
        </div>
    </div>
    <div class="box-title padding-top-8 margin-top-5 no-margin-bottom bk-green" ng-show="module==divItem.blockName" ng-repeat-start="divItem in orgOppStruct|filter:{type:'normal'}">
        <h4>{{divItem.name}}</h4>
    </div>
    <div class="box-body border" ng-show="module==divItem.blockName" ng-repeat-end>
        <div ng-if="divItem.type=='normal'" traversal-datastruct info-struct="divItem.struct"  info-traversal="orgOppPointer[divItem.blockName]" offset="0" blockname="{{divItem.blockName}}" special-need="{{ReadOnly}}" dirty-set="dirtySet(index)" style="padding-left: 8px;padding-right: 8px"></div>
    </div>
    <!--日期信息-->
    <div class="box-title padding-top-8 margin-top-5 no-margin-bottom bk-green" ng-show="module=='oppDateList'" >
        <h4>日期信息</h4>
    </div>
    <div class="box-body border"  ng-show="module=='oppDateList'">
        <div class="form-group" ng-repeat="item in dates">
            <label class="col-md-4" for="addOrgOppDate{{$index}}">{{item}}</label>
            <div class="col-md-8 input-group">
                <input ng-disabled="true" name="addOrgOppDate{{$index}}" id="addOrgOppDate{{$index}}" type="text" ng-pattern="/^[0-9]{4}-[0-1][0-9]-[0-3][0-9]$/" class="form-control" ng-model="orgOppPointer.oppDateList[item].date" uib-datepicker-popup="yyyy-MM-dd" is-open="opened"/>
                <span class="input-group-btn">
                    <button ng-disabled="true" type="button" class="btn btn-default" ng-click="opened=true"><i class="glyphicon glyphicon-calendar"></i></button>
                </span>
            </div>
        </div>
    </div>
    <!--相关联系人-->
    <div class="box-title padding-top-8 margin-top-5 no-margin-bottom bk-green" ng-show="module=='oppRelatedContact'" >
        <h4>相关联系人</h4>
    </div>
    <div class="box-body border"  ng-show="module=='oppRelatedContact'">
        <div class="form-group" >
            <label class="col-md-4">相关客户</label>
            <div class="col-md-8 input-group">
                <span>{{orgOppPointer.oppRelatedContact.customer.companyBaseInfo.name?orgOppPointer.oppRelatedContact.customer.companyBaseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-md-4">客户联系人</label>
            <div class="col-md-8 input-group">
                <span>{{orgOppPointer.oppRelatedContact.customerContact.baseInfo.name?orgOppPointer.oppRelatedContact.customerContact.baseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-md-4">合作伙伴</label>
            <div class="col-md-8 input-group">
                <span>{{orgOppPointer.oppRelatedContact.partner.companyBaseInfo.name?orgOppPointer.oppRelatedContact.partner.companyBaseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-md-4">客户联系人</label>
            <div class="col-md-8 input-group">
                <span >{{orgOppPointer.oppRelatedContact.partnerContact.baseInfo.name?orgOppPointer.oppRelatedContact.partnerContact.baseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-md-4">竞争者</label>
            <div class="col-md-8 input-group">
                <span >{{orgOppPointer.oppRelatedContact.competitor.companyBaseInfo.name?orgOppPointer.oppRelatedContact.competitor.companyBaseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
        <div class="form-group" >
            <label class="col-md-4">客户联系人</label>
            <div class="col-md-8 input-group">
                <span >{{orgOppPointer.oppRelatedContact.competitorContact.baseInfo.name?orgOppPointer.oppRelatedContact.competitorContact.baseInfo.name:'无'}}</span>
                </select>
            </div>
        </div>
    </div>
</div>